﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using LP580.CG;

public partial class User_UC1Card : System.Web.UI.Page
{
    private clsUserAccount ua = clsUserAccount.getCookieUser(true);
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            StringBuilder sb = new StringBuilder();
            clsUserCompanyInfo cls = new clsUserCompanyInfo(ua.UserID);
            sb.Append("<tr>");
            sb.AppendFormat("<td class=\"gsname\">{0}</td></tr>", cls.CompanyName);
            sb.Append("<tr><td>");
            sb.AppendFormat("电话：{0}<br />", cls.Mobile);
            sb.AppendFormat("联系人：{0}<br />", cls.ContactPerson);
            sb.AppendFormat("联系地址：{0}<br />", cls.CompanyAddress);
            sb.AppendFormat("Email：{0}<br />", cls.Email);
            sb.AppendFormat("网址：{0}<br />", cls.Website);
            sb.AppendFormat("销售区域：江西·南昌");
            sb.Append("</td></tr>");
            Literal1.Text = sb.ToString();
        }
    }
}